package com.ruoyi.system.domain.api;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户推荐关系对象 u_user_referee
 * 
 * @author ruoyi
 * @date 2022-04-22
 */
public class UUserReferee extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 推荐人ID */
    @Excel(name = "推荐人ID")
    private Long refereeUserId;

    /** 推荐关系;分隔 */
    @Excel(name = "推荐关系;分隔")
    private String refereeRelation;

    private String userPhone;

    private String refereeUserPhone;

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getRefereeUserPhone() {
        return refereeUserPhone;
    }

    public void setRefereeUserPhone(String refereeUserPhone) {
        this.refereeUserPhone = refereeUserPhone;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setRefereeUserId(Long refereeUserId) 
    {
        this.refereeUserId = refereeUserId;
    }

    public Long getRefereeUserId() 
    {
        return refereeUserId;
    }
    public void setRefereeRelation(String refereeRelation) 
    {
        this.refereeRelation = refereeRelation;
    }

    public String getRefereeRelation() 
    {
        return refereeRelation;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("refereeUserId", getRefereeUserId())
            .append("refereeRelation", getRefereeRelation())
            .append("createTime", getCreateTime())
            .toString();
    }
}
